
import java.lang.reflect.Array;
import java.util.Arrays;
import java.util.Scanner;

public class XieKang {
    public static void main(String[] args) {
        int[] a = {1,2,3,4,5};
        System.out.println(Arrays.toString(a));
        for (int i = 0; i < a.length; i++){
            System.out.print(a[i] + " ");
        }

    }
}
